import Vue from 'vue';
import Router from 'vue-router';
import DbInfo from '@/views/DbInfo.vue';
import DockerInfo from '@/views/DockerInfo.vue';
import SnmpInfo from '@/views/SnmpInfo.vue';
import RedisInfo from '@/views/RedisInfo.vue';
import InterfaceInfo from '@/views/InterfaceInfo.vue';
import ModelOidInfo from '@/views/ModelOidInfo.vue';

Vue.use(Router);

export default new Router({
  routes: [
    { path: '/snmp', component: SnmpInfo },
    { path: '/database', component: DbInfo },
    { path: '/docker', component: DockerInfo },
    { path: '/redis', component: RedisInfo },
    { path: '/interface', component: InterfaceInfo },
    { path: '/modeloid', component: ModelOidInfo },
    { path: '/', redirect: '/snmp' }
  ]
});
